package com.rykj.energy.database.service.impl;

import com.rykj.energy.database.mapper.CameraObjectMapper;
import com.rykj.energy.database.pojo.BusinessCameraObject;
import com.rykj.energy.database.service.ICameraObjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("cameraObjectService")
public class CameraObjectServiceImpl implements ICameraObjectService {

    @Autowired
    private CameraObjectMapper cameraObjectMapper;

    @Override
    public List<BusinessCameraObject> getCameraObjectById(Integer taskId, Integer cameraId,Integer presetId) {
        return cameraObjectMapper.getCameraObjectById(taskId,cameraId,presetId);
    }
}
